% 加载音频信号
function [audioData, sampleRate] = getMusic(audioFile)
    [audioData, sampleRate] = audioread(audioFile);
    if size(audioData, 2) > 1
        audioData = mean(audioData, 2); % 转为单声道
    end
end